package cate.game.role.show;

import cate.game.db.GameMongoDao;
import cate.game.role.Role;
import cate.game.role.RolePartGetter;
import org.springframework.data.mongodb.repository.MongoRepository;

public class RoleShowGetter extends RolePartGetter<RoleShow> {
    public RoleShowGetter(Role role) {
        super(role);
    }

    @Override
    protected MongoRepository<RoleShow, String> getRepo(GameMongoDao dao) {
        return dao.show;
    }
}
